<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>修改头像-爆爆社区</title>
    <link rel="stylesheet" th:href="@{/bootstrap/css/bootstrap.min.css}">
    <!-- 加入FileInput -->
    <style>
        .badge-warning {
            color: #71716999;
            background: #ffb700c4;
        }

        #table-title tr th {
            border: none;
        }
    </style>
</head>
<body style="background: #f2f2f2;">

<div th:replace="common/header::header(activeUrl='user')"></div>

<main role="main" class="container">
    <div class="row">
        <div th:replace="~{user/index::userShowPanel}"></div>
        <div class="col-md-9 blog-main">
            <div class="p-4 my-3 bg-white rounded">
                <form class="form-group" enctype="multipart/form-data" th:action="@{'/user/updateAvatar/'+${session.loginUser.getUid()}}" method="post">
                    <input style="margin-bottom: 100px" class="form-control" name="multipartFile" type="file" value="请选择头像">
                    <input class="form-control btn btn-primary btn-block"  type="submit" value="修改头像">
                </form>
            </div>
        </div>
    </div>
</main>


<div th:replace="common/footer::footer"></div>
<a class="to-top">返回顶部</a>
<th:block th:replace="common/footer::script"></th:block>

</body>
